package com.atguigu.template.improve;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 纯豆浆（重写勾子方法，不添加配料）
 * @create: 2022-02-28 10:01
 **/
public class PureSoyMilk extends SoyMilk{
    @Override
    public void addCondiments() {
        //空实现（不添加配料）
    }

    @Override
    boolean customerWantCondiments() {
        return false;
    }
}
